

% Order of presentation:  Figure 1 (best times), Figure 6 (worst times),  Figure 12 (com todas as entradas), Figure 13 (real). 
% Ricardo Rocha, June 30, 2013

%\documentclass[times,10pt,twocolumn]{article} 
%\usepackage{latex8}
%\usepackage{times}

%\documentclass[10pt]{IEEEtran}
\documentclass[conference]{IEEEtran}
% allow \thanks
\IEEEoverridecommandlockouts

\usepackage[pdftex]{graphicx}
%%\usepackage{epsf}
\usepackage[tight,footnotesize]{subfigure}
%%\usepackage{multirow}
%%\usepackage{tabularx}
%\usepackage{setspace}
\usepackage[ruled,linesnumbered]{algorithm2e}
%%\usepackage{algorithm2e}
\usepackage{amsmath}
%\usepackage{fullpage}
\input{rr-common.tex}

%\pagestyle{empty}
\pagestyle{plain}


% Colors on or off: Pick ONE
\renewcommand{\ifColorText}[2]{\textcolor{#1}{#2}}  % Colors ON
%\renewcommand{\ifColorText}[2]{{#2}}                % Colors OFF

% Comments on or off: Pick ONE
%\renewcommand{\ifComments}[1]{{#1}}                 % Comments ON
%\renewcommand{\ifComments}[1]{\REM{#1}}             % Comments OFF

\newif\ifComments
\Commentstrue

\ifComments
\newcommand{\chek}[1]{\noindent\textcolor{red}{Check: {#1}}}
\newcommand{\jna}[1]{\noindent\textcolor{blue}{Nelson: {#1}}}
\newcommand{\rlar}[1]{\noindent\textcolor{green}{Ricardo: {#1}}}
\newcommand{\paul}[1]{\noindent\textcolor{magenta}{Berube: {#1}}}
\newcommand{\bruno}[1]{\noindent\textcolor{magenta}{Bruno: {#1}}}
\newcommand{\rem}[1]{\noindent\textcolor{red}{\st{#1}}}
\newcommand{\new}[1]{\noindent\textcolor{blue}{ {#1}}}
\newcommand{\ed}[1]{\noindent\textcolor{red}{ {#1}}}
\newcommand{\short}[1]{\noindent\textcolor{blue}{ {#1}}}
\else
\newcommand{\chek}[1]{}
\newcommand{\jna}[1]{}
\newcommand{\rlar}[1]{}
\newcommand{\paul}[1]{}
\newcommand{\bruno}[1]{}
\newcommand{\rem}[1]{}
\newcommand{\new}[1]{#1}
\newcommand{\new}[1]{\noindent\textcolor{blue}{ {#1}}}
\newcommand{\ed}[1]{#1}
\newcommand{\short}[1]{}
\fi

\newcommand{\abbrev}[2][Blue]{\ifColorText{#1}{\ensuremath{\mathrm{#2}}}}

\def\llvm{{\ifColorText{Red}{{\tt LLVM}}}}
\def\Never{{\ifColorText{Red}{{\tt Never}}}}
\def\PP{{\ifColorText{Orange}{PP}}}
\def\CP{{\ifColorText{RoyalBlue}{CP}}}
\def\CEP{{\ifColorText{RoyalBlue}{CEP}}}
\def\CPP{{\ifColorText{RoyalBlue}{CPP}}}
\def\HN{{\ifColorText{OliveGreen}{HN}}}
\def\CG{{\ifColorText{Periwinkle}{CG}}}
\def\CFG{{\ifColorText{Fuchsia}{CFG}}}
\def\FDO{{\ifColorText{Magenta}{FDO}}}
\def\DF{{\ifColorText{Blue}{\ensuremath{\mathrm{DF}}}}}
\def\FDI{{\ifColorText{Magenta}{FDI}}}
\def\CS{\abbrev{CS}}

\newcommand{\DFact}[2]{{\ifColorText{Blue}{\ensuremath{\mathrm{\DF}_{{#1}\rightarrow {#2}}}}}}

\newcommand{\blt}[1]{\ensuremath{t_\emptyset}(#1)}

\begin{document}
\thispagestyle{empty}

\title{A Methodology for the Evaluation of Code Transformations Based on Feedback-Directed Optimizations}

%\pagenumbering{arabic}

%\authorinfo{\ }{\ }{\ }
\author{\IEEEauthorblockN{Ricardo Luis de Azevedo da Rocha\thanks{This research was done while the nth author was in a sabbatical year at the University of Alberta, supported by grant 2011/17096-5 from the Funda\c{c}\~{a}o de Amparo \`{a} Pesquisa do Estado de S\~{a}o Paulo -- FAPESP.}}
\IEEEauthorblockA{Dept. of Computing Engineering\\
University of Sao Paulo and \\ Dept. of Computing Science \\ University of Alberta\\
Edmonton, Alberta, T6G 2E8, Canada\\
Email: rlarocha@usp.br\\ \hspace{53pt}azevedod@ualberta.ca}
\and
\IEEEauthorblockN{Paul Berube}
\IEEEauthorblockA{Dept. of Computing Science\\
University of Alberta\\
Edmonton, Alberta, T6G 2E8, Canada\\
Email: pberube@ualberta.ca}
\and
\IEEEauthorblockN{Bruno Rosa}
\IEEEauthorblockA{Dept. of Computing Science\\
University of Alberta\\
Edmonton, Alberta, T6G 2E8, Canada\\
Email: brosa@ualberta.ca}
\and
\IEEEauthorblockN{Jos\'{e} Nelson Amaral\thanks{This research is supported by fellowships and grants from the Natural Sciences and Engineering Research Council of Canada (NSERC), the Informatics Circle of Research Excellence (iCORE), and the Canadian Foundation for innovation (CFI).}}
\IEEEauthorblockA{Dept. of Computing Science\\
University of Alberta\\
Edmonton, Alberta, T6G 2E8, Canada\\
Email: amaral@cs.ualberta.ca}}


\maketitle

\begin{abstract}
\input{text/abstract.tex}
\end{abstract}

\section{Introduction}
	\label{sec:intro}
	\input{text/introduction}

\section{Function Inlining}
	\label{sec:inlining}
	\input{text/inlining}

\section{The Perils of Experimental Practices}
	\label{sec:description}
	\input{text/description}

\section{Combined Profiling Methodology}
	\label{sec:cmbprof}
	\input{text/cmbprof}
	
\section{Study on the Number of Experimental Runs}
	\label{sec:robust}
	\input{text/robust}
	
\section{Reporting a speedup measured using \FDI\ }
	\label{sec:speedup}
	\input{text/speedup}

\section{Related Work}
	\label{sec:related}
	\input{text/related}

\section{Conclusion}
	\label{sec:conclusion}
	\input{text/conclusion}

%\section*{Acknowledgments}
%	\input{text/ack}

%\bibliographystyle{latex8}
%%\bibliographystyle{abbrv}
\bibliographystyle{IEEEtran}
\bibliography{local}


\end{document}
